﻿using System;


namespace TopBuilds.Restaurant.Data
{
    public class PrinterQueueRsPrinter
    {
        #region 属性
        private int _id;
        private int _printerId;
        private int _printerQueueId;
        private int _category;
        #endregion

        #region 构造
        public PrinterQueueRsPrinter()
        {
            _printerId           = 0;
            _printerQueueId      = 0;
            _category            = 0;
        }

        public PrinterQueueRsPrinter(int printerId)
        {
            _printerId          = printerId;
            _printerQueueId     = 0;
            _category           = 0;
        }

        public PrinterQueueRsPrinter(int printerId, int printerQueueId)
        {
            _printerId         = printerId;
            _printerQueueId    = printerQueueId;
            _category          = 0;
        }

        public PrinterQueueRsPrinter(int printerId, int printerQueueId, int category)
        {
            _printerId         = printerId;
            _printerQueueId    = printerQueueId;
            _category          = category;
        }
        #endregion

        public int Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public int PrinterId
        {
            get { return _printerId; }
            set { _printerId = value; }
        }

        public int PrinterQueueId
        {
            get { return _printerQueueId; }
            set { _printerQueueId = value; }
        }

        public int Category
        {
            get { return _category; }
            set { _category = value; }
        }
    }
}
